<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>参数设置</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<%@ include file="/html/custom/header.jsp"%>

		<link type="text/css" href="<%=basePath%>/html/css/gm/user.css"
			rel="stylesheet" />
			<script type="text/javascript"
			src="<%=basePath%>html/js/swss.asset.sys.js"></script>
			<script type="text/javascript">
			var res={code:<s:property value="#request.code" />,msg:"<s:property value="#request.msg"  />"};
		</script>
		<style>
		.td-op{width: 280px;}
		</style>	
	</head>
	<body>
		
		<!-- 导航 -->
		<s:action name="showTopNav" executeResult="true" namespace="/user"></s:action> 
		<!-- /导航 -->  
        
		<div id="content">
			<!-- 单条删除辅助html -->
			<%@ include file="/html/custom/formDel.jsp"%>
			<form id="statesForm" action="/swss/sys/modifySF.action" method="post" >
			<!-- toolbar -->
			<div class="toolbar">
				<span id="btnset" class="btnset"><input type="submit" value="保 存" />
				</span>
			</div>
			<!-- 数据表通用格式 -->
			
			<div class="datagird">
				<table class="ui-widget ui-widget-content">
					<thead>
						<tr class="ui-widget-header ">
							<th>
								原始字段名 
							</th>
							<th>
								当前字段名 
							</th>
							<th>
								字段初始值 
							</th>
						</tr>
					</thead>
					<tbody>
							<s:iterator value="#request.byglList">
							<tr>
								<td>
								<s:property value="oldField" />
								<input type="hidden" name="id" value="<s:property value="id" />" />
								</td>
								<td>
								<input type="text"  name="newSF"
								value="<s:property value="newField" />" />	
								</td>
								<td>
								<input type="text"  name="deVal"
								value="<s:property value="defaultVal" />" />
								</td>
								
							</tr>
							</s:iterator>
					</tbody>
				</table>
			</div>
			
			</form>
		</div>
		<div id="loading"></div>
		<div id="mask"></div>
		<div id="msg"></div>
  </body>
</html>
